{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "## 通过python安装ansible\n",
    "\n",
    "python ./setup.py install \n",
    "easy_install ansible\n",
    "pip install ansible\n",
    "pip install setuptools\n",
    "\n",
    "## github 中下载安装包安装\n",
    "wget https://github.com/ansible/ansible/archive/v2.4.4.0-1.tar.gz\n",
    "tar -zxvf ansible-2.4.4.0-1.tar.gz\n",
    "cd ansible-2.4.4.0-1\n",
    "python ./setup.py install\n",
    "\n",
    "\n",
    "## 检查\n",
    "ipython\n",
    "In [1]: import ansible\n",
    "\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
